/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package beans;

import entities.Exams;
import entities.Person;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author corneliugosa
 */
@Local
public interface ExamsFacadeLocal {

    void create(Exams exams);

    void edit(Exams exams);

    void remove(Exams exams);

    Exams find(Object id);

    List<Exams> findAll();

    List<Exams> findRange(int[] range);

    List<Exams> findByPerson(Person person);
    
    List<Exams> findByClass(entities.Class cls);
    
    List<Exams> findPending();
    
    Exams findById(Integer id);
    
    int count();
    
}
